package com.cppsu.cgx.libraryseatselection.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.annotation.Generated;

public class SeatSelection implements Serializable {
    private Long id;

    private Long userId;

    private Long seatId;

    @ApiModelProperty(value = "选座的开始时间")
    private Date start;

    @ApiModelProperty(value = "选座的结束时间")
    private Date end;

    @ApiModelProperty(value = "删除状态：0未删除，1已删除")
    private Integer deleteStatus;

    @ApiModelProperty(value = "退选状态：0未退，1已退")
    private Integer returnStatus;

    private Date createTime;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private static final long serialVersionUID = 1L;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getId() {
        return id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setId(Long id) {
        this.id = id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getUserId() {
        return userId;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getSeatId() {
        return seatId;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setSeatId(Long seatId) {
        this.seatId = seatId;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Date getStart() {
        return start;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setStart(Date start) {
        this.start = start;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Date getEnd() {
        return end;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setEnd(Date end) {
        this.end = end;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Integer getReturnStatus() {
        return returnStatus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setReturnStatus(Integer returnStatus) {
        this.returnStatus = returnStatus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Date getCreateTime() {
        return createTime;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", seatId=").append(seatId);
        sb.append(", start=").append(start);
        sb.append(", end=").append(end);
        sb.append(", deleteStatus=").append(deleteStatus);
        sb.append(", returnStatus=").append(returnStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}